package cn.pb.dao;

import java.io.Serializable;
import java.util.List;

import org.springframework.stereotype.Repository;

import cn.pb.domin.Blog;
import cn.pb.domin.QueryInfo;
/**
 * 
 * @author what_water_Dan_Dan
 *
 */
@Repository
public interface BlogDao {
	
	public void add(Blog blog);

	public void updateById(Blog blog);
	
	public Blog findByBTitle(String title);

	public List<Blog> findAll();
	
	public void deleteById(Serializable bid);

	public List<Blog> pageQuery(QueryInfo queryinfo);
	
	public Integer count();


}
